Skip to content

Feature/update big int - #23

Merged
LordofGhost merged 2 commits into
mainfrom
feature/updateBigInt
Jul 11, 2026
Merged

Feature/update big int#23
LordofGhost merged 2 commits into
mainfrom
feature/updateBigInt

Conversation

@LordofGhost

Copy link
Copy Markdown
Member

Describe your changes

Update submodule and references to it.

Issue ticket number if there is one

Copilot AI review requested due to automatic review settings July 11, 2026 10:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the RSA implementation to use the operations::BigInt type (and associated submodule/library) in place of the prior Base256 type, aligning the codebase and build system with the updated big-integer dependency.

Changes:

  • Replace operations::Base256 with operations::BigInt across key structures, key generation, and serialization/deserialization.
  • Update encryption/decryption to operate on operations::BigInt values.
  • Update build linkage and docs to reference BigInt instead of Base256.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/keyPair.h Switch key fields and (de)serialization helpers to operations::BigInt.
src/keyPair.cpp Update key generation and key (de)serialization codepaths to use operations::BigInt.
src/helper.h Update include to the new bigint header dependency.
src/encrypt.cpp Use operations::BigInt for plaintext/ciphertext math.
src/decrypt.cpp Use operations::BigInt for ciphertext/plaintext math.
docs/algorithms/div.md Update normalization wording from Base256 to BigInt.
CMakeLists.txt Link RSA target against BigInt rather than Base256.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/encrypt.cpp
Comment thread src/decrypt.cpp

@Jochengehtab Jochengehtab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@LordofGhost
LordofGhost merged commit ae48056 into main Jul 11, 2026
16 checks passed
@LordofGhost
LordofGhost deleted the feature/updateBigInt branch July 11, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants